//
//  SsehSettingTableViewCell.m
//  customer
//
//  Created by 杨阳 on 2018/10/29.
//  Copyright © 2018 yinlong. All rights reserved.
//

#import "SsehSettingTableViewCell.h"

@implementation SsehSettingTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)configData:(SsehConfigModel *)model andIndex:(NSIndexPath *)index{
    
    self.titleLabel.text = [NSString emptyStr:model.titleStr];
    self.rightTitleLabel.text = [NSString emptyStr:model.infoStr];
    if (k_Is_Empty(model.imageName)) {
        self.rightImageView.hidden = YES;
    }else{
        self.rightImageView.hidden = NO;
        self.rightImageView.image = [UIImage imageNamed:model.imageName];
    }
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
